tools/libxl: libxl_device_generic_add: handle NULL fents or bents
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 13 Aug 2010 19:34:09 +0000 (20:34 +0100)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 13 Aug 2010 19:34:09 +0000 (20:34 +0100)
commitedef2b102fec881aba7bd644e475f6e689dddd81
treef7e709cd8eebf7ae88f4f934ace03a7d0cea5291
parent036b528f559911f1d820168ad90b2dd8cbd7f787
tools/libxl: libxl_device_generic_add: handle NULL fents or bents

This is going to be used by libxl_console_add in the next patch to
avoid creating the device/console path on xenstore for console 0.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_device.c
tools/libxl/libxl_xshelp.c